<template>
  <el-container>
  <el-aside width="200px">
      <el-menu
      default-active="2"
      background-color="#545c64"
      text-color="#fff"
      active-text-color="#ffd04b">
      <el-submenu index="1">
        <template slot="title">
          <i class="el-icon-location"></i>
          <span>商家</span>
        </template>
        <el-menu-item-group>
        <el-submenu index="1-4">
          <template slot="title">商家</template>
          <el-menu-item index="1-4-1">商家列表</el-menu-item>
          <el-menu-item index="1-4-1">店员管理</el-menu-item>
          <el-menu-item index="1-4-1">商家申请</el-menu-item>
        </el-submenu>
        <el-submenu index="1-4">
          <template slot="title">商品</template>
          <el-menu-item index="1-4-1">商品列表</el-menu-item>
          <el-menu-item index="1-4-1">商品分类</el-menu-item>
        </el-submenu>
        </el-menu-item-group>
      </el-submenu>
      <el-menu-item index="2">
        <i class="el-icon-menu"></i>
        <span slot="title">导航二</span>
      </el-menu-item>
      <el-menu-item index="3" disabled>
        <i class="el-icon-document"></i>
        <span slot="title">导航三</span>
      </el-menu-item>
      <el-menu-item index="4">
        <i class="el-icon-setting"></i>
        <span slot="title">导航四</span>
      </el-menu-item>
    </el-menu>
  </el-aside>
  <el-container>
    <el-header>Header</el-header>
    <el-main>Main</el-main>
  </el-container>
</el-container>
</template>

<script>
export default {

}
</script>

<style>
.el-header {
    background-color: white;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  
  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 160px;
  }
</style>